#ifndef CLIENT_WIDGET_H
#define CLIENT_WIDGET_H

#include <QWidget>
#include <QTcpSocket>

namespace Ui {
class Client_widget;
}

class Client_widget : public QWidget
{
    Q_OBJECT

public:
    explicit Client_widget(QWidget *parent = nullptr);
    ~Client_widget();

private slots:
    void on_ButtonConnet_clicked();
    void on_ButtonClose_clicked();

    void on_ButtonSend_clicked();

private:
    Ui::Client_widget *ui;

    //通信套接字
    QTcpSocket* tcpSocket;
};

#endif // CLIENT_WIDGET_H
